package com.powernode.pojo;

/**
 * @author 繁寂
 * @version 1.0
 * @since 1.0
 */
public class User {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    private String userName;
    private Integer password;

    public User() {
    }

    public User(Integer id, String name, Integer age, String sex, String userName, Integer password) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.userName = userName;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", userName='" + userName + '\'' +
                ", password=" + password +
                '}';
    }
}
